//
//  GSDKIAPController.h
//  GameSDK
//
//  Created by Johnny on 2017/8/8.
//  Copyright © 2017年 Johnny. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
#import "GSDKGoods.h"
#define GSDKIAP [GSDKIAPController shared]

@interface GSDKIAPController : NSObject

+ (GSDKIAPController *_Nullable)shared;

- (void)buyWithGoods:(nonnull GSDKGoods*)goods
          andOrderId:(nonnull NSString *)orderId
        andGameOther:(nonnull NSString *)gameOther
          andSandbox:(BOOL)isSandbox;

- (void)restored;

- (NSArray *)getBuyGoods;

@end
